body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

a{
    text-decoration: none;
}

div{
    height: 26px;
    border:1px solid #ccc;
    box-sizing: border-box;
    margin:6px 10px;
    border-radius: 5px;
}

/*搜索模块*/
.search-index{
    /*固定定位跟父级无关，它以屏幕为准*/
    position:fixed;
    top:0;
    left: 50%;
    width:100%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    background-color: gray;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    display: flex;
}
.search{
    flex: 1;
    line-height: 24px;
    border: 1px solid #ccc;
    position: relative;
    font-size: 12px;
    color: #666;
    margin:7px 10px;
    padding-left: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0);
}
.search:before{
    content: "";
    position: absolute;
    top:5px;
    left: 5px;
    width:15px;
    height: 15px;
    background: url("../images/sprite.png")no-repeat -59px -280px;
    background-size:104px auto ;
    margin-top:1px;
}
.user{
    width:44px;
    height: 44px;

    font-size: 12px;
    text-align: center;
}
.user:before{
    content: "";
    display: block;
    width:23px;
    height: 23px;
    background: url("../images/sprite.png") no-repeat -59px -194px;
    background-size: 104px auto;
    margin:5px auto 0;
}

.focus{
    margin-top:44px;
    height: 100px;
}
.focus img{
    width:100%;

}
.local-nav{
    display: flex;
    height: 64px;
    background-color: green;
    border-radius: 8px;
    margin:3px 4px;
}
.local-nav li{
    flex:1;
}
.local-nav a{
    display: flex;
    flex-direction:column ;
    align-items: center;
}